package com.zxy.study.base.recyclerview;

import android.view.View;

import androidx.annotation.CallSuper;

/**
 * Created by wensefu on 2017/7/17.
 */
public class BaseMultipleTypeVH<T> extends BaseViewHolder {

    protected T data;
    protected int pos;

    public BaseMultipleTypeVH(View itemView) {
        super(itemView);
    }

    @CallSuper
    public void onBind(T data, boolean isSel, int pos) {
        this.data = data;
        this.pos = pos;
    }

    public T getData() {
        return data;
    }

    public void onViewRecycled() {

    }

    public void onViewAttachedToWindow() {

    }

    public void onViewDetachedFromWindow(){

    }
}
